package scrum.client.sprint;

import java.util.List;

import scrum.client.project.Requirement;

public class SprintBacklogGroupFilteredWidget extends SprintBacklogWidget {

	@Override
	protected PullNextRequirementFilteredAction getPullNextReqAction() {
		return new PullNextRequirementFilteredAction(sprint);
	}

	@Override
	protected List<Requirement> postProcessRequirements(List<Requirement> requirements) {
		// Filter by group!
		return getDao().filterRequirements(getCurrentUser(), getCurrentProject(), requirements);
	}

}
